package com.open.capacity.user.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 作者 ftquan E-mail: 464725602@qq.com
 * @version 创建时间：2017年11月12日 上午22:57:51
 * 用户晋升记录
 */
@Data
public class SysUserHistory implements Serializable {

    private static final long serialVersionUID = 4497149010220586111L;

    public SysUserHistory() {
    }

    public SysUserHistory(String userid, String levels, String job, String technicalLevel) {
        this.userid = userid;
        this.levels = levels;
        this.job = job;
        this.technicalLevel = technicalLevel;
    }
    public SysUserHistory(String userid, String levels, String job, String technicalLevel,String levels2, String job2, String technicalLevel2) {
        this.userid = userid;
        this.levels = levels;
        this.job = job;
        this.technicalLevel = technicalLevel;

        this.levels2 = levels2;
        this.job2 = job2;
        this.technicalLevel2 = technicalLevel2;
    }

    @JsonSerialize(using = ToStringSerializer.class)
    private String id;
    private String userid;
    private String levels;
    private String job;
    private String technicalLevel;

    private String levels2;
    private String job2;
    private String technicalLevel2;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date actionTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    private Date createTime;
    private String description;


    private String departmentName;
    private String userCode;
    private String realName;

}
